home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
beeper1.zip
/
BEEP.ASM
next >
Wrap
Assembly Source File
|
1991-06-05
|
679b
|
29 lines
; BEEP.COM by Duane Paulson 06/05/91.
; Sounds system beeper 2 times.
; Created using comtemp.asm template by Chuck Nelson; (c) NELSOFT Software.
; All rights reserved. Used by permission.
; Comtemp.asm is included in The PC Assembler Helper and Tutor by
; Chuck Nelson, downloadable as "PCTUTOR.xxx".
COMSEG SEGMENT PUBLIC 'CODE'
ASSUME cs:COMSEG, ds:COMSEG, es:COMSEG, ss:COMSEG
ORG 100h
main proc NEAR
start: mov ax,0E07h ; TTY output - ascii 7 (beep)
mov bh,0 ; primary video page
int 10h ; call bios
int 10h ; call bios
mov ax,4C00h ; exit with 0 exit code
int 21h ; call dos and exit
main endp
COMSEG ENDS
END start